home *** CD-ROM | disk | FTP | other *** search
/ Chip 2001 November / Chip Kasım 2001.iso / prog / amapi3d / data1.cab / Common / MACROS / SHADERS.TCL < prev   
Encoding:
Text File  |  2000-08-11  |  18.9 KB  |  663 lines

  1. ###########################################
  2. newshader marble_shader "Marble"
  3.  
  4. marble_shader -diffus 0.9
  5. marble_shader -spec_coef .8
  6. marble_shader -spec_couleur { 1 1 1 }
  7. marble_shader -spec_etal 200
  8. marble_shader -texture marble_text
  9.  
  10. marble_text -texture3d         marble_t3d
  11. marble_text -destination     0
  12. marble_text -algo_applic    0
  13. marble_text -param_applic    0.5
  14.  
  15. marble_t3d -type         marble
  16. marble_t3d -perturbation     0.3
  17. marble_t3d -scale     { 3 3 3 }
  18. marble_t3d -trans     { 0.0 0.0 0.0 }
  19. marble_t3d -rotat     { 0.0 0.0 0.0 }
  20. marble_t3d -taille        10
  21. marble_t3d -couleur1         { .1 .3 .5 }
  22. marble_t3d -couleur2        { 0 1 1 }
  23. marble_t3d -colmap { 0.10 0.0 0.9 0.1 1.0 }
  24. marble_t3d -colmap { 0.40 0.2 0.6 0.4 1.0 }
  25. marble_t3d -colmap { 0.60 0.4 0.9 0.1 1.0 }
  26. marble_t3d -colmap { 0.80 0.7 1.0 0.7 1.0 }
  27.  
  28.  
  29. ###########################################
  30. newshader wood_shader "Wood"
  31. wood_shader -diffus 0.9
  32. wood_shader -spec_coef 0
  33. wood_shader -spec_couleur { 1 1 1 }
  34. wood_shader -spec_etal 200
  35. wood_shader -ambiant { 0.4 0.4 0.4 }
  36. wood_shader -texture wood_text
  37.  
  38. wood_text -texture3d         wood_t3d
  39. wood_text -destination     0
  40. wood_text -algo_applic    0
  41. wood_text -param_applic    0.5
  42.  
  43. wood_t3d -type         wood
  44. wood_t3d -scale     { 10 10 1 }
  45. wood_t3d -taille    10
  46. wood_t3d -trans     { 0.0 0.0 0.0 }
  47. wood_t3d -rotat     { 0.0 0.0 0.0 }
  48. wood_t3d -perturbation 0.2
  49. wood_t3d -octaves    1
  50. wood_t3d -couleur1    { .6 .3 0 }
  51. wood_t3d -couleur2    { .9 .5 0 }
  52.  
  53. ###########################################
  54. newshader cwood_shader "Cartoon water"
  55. cwood_shader -diffus 0.9
  56. cwood_shader -spec_coef 0
  57. cwood_shader -spec_couleur { 1 1 1 }
  58. cwood_shader -spec_etal 200
  59. cwood_shader -ambiant { 0.5 0.5 0.5 }
  60. cwood_shader -texture cwood_text
  61.  
  62. cwood_text -texture3d         cwood_t3d
  63. cwood_text -destination     0
  64. cwood_text -algo_applic        0
  65. cwood_text -param_applic    0.5
  66.  
  67. cwood_t3d -type     radial1
  68. cwood_t3d -scale     { 15 15 15 }
  69. cwood_t3d -taille    10
  70. cwood_t3d -trans     { 0.0 0.0 0.0 }
  71. cwood_t3d -rotat     { 0.0 0.0 0.0 }
  72. cwood_t3d -perturbation 0.7
  73. cwood_t3d -octaves    3
  74. cwood_t3d -couleur1    { .6 .3 0 }
  75. cwood_t3d -couleur2    { .9 .5 0 }
  76. cwood_t3d -colmap { 0.00 0.2 0.3 1.0 1.0 }
  77. cwood_t3d -colmap { 0.40 0.3 0.7 0.8 1.0 }
  78. cwood_t3d -colmap { 0.55 0.1 0.1 0.6 1.0 }
  79. cwood_t3d -colmap { 1.00 0.2 0.3 1.0 1.0 }
  80.  
  81. ###########################################
  82. newshader redcopper_shader "Red Copper"
  83. redcopper_shader -ambiant { .5 .5 .5 }
  84. redcopper_shader -couleur { .4 .1 0 }
  85. redcopper_shader -diffus .5
  86. redcopper_shader -spec_coef .6
  87. redcopper_shader -spec_couleur { 1 .3 0 }
  88. redcopper_shader -spec_etal 10
  89. redcopper_shader -spec_filtre .8
  90. redcopper_shader -spec_eccen  .4
  91. redcopper_shader -spec_algo    1
  92.  
  93. ###########################################
  94. newshader copper_shader "Copper"
  95. copper_shader -ambiant { .6 .6 .6 }
  96. copper_shader -couleur { .4 .2 .1 }
  97. copper_shader -diffus 0
  98. copper_shader -spec_coef 2
  99. copper_shader -spec_couleur { .4 .2 .1 }
  100. copper_shader -spec_etal 10
  101. copper_shader -spec_eccen .5
  102.  
  103. ###########################################
  104. newshader yelcopper_shader "Yellow copper"
  105. yelcopper_shader -ambiant { .4 .4 .4 }
  106. yelcopper_shader -couleur { 1 .9 .5 }
  107. yelcopper_shader -diffus .3
  108. yelcopper_shader -spec_coef .6
  109. yelcopper_shader -spec_couleur { 1 .9 .5 }
  110. yelcopper_shader -spec_etal 10
  111. yelcopper_shader -spec_eccen .95
  112. yelcopper_shader -spec_filtre 1
  113.  
  114. ###########################################
  115. newshader alu_shader "Aluminium"
  116. alu_shader -ambiant { .3 .3 .3 }
  117. alu_shader -couleur { .4 .4 .4 }
  118. alu_shader -diffus .4
  119. alu_shader -spec_coef .8
  120. alu_shader -spec_couleur { .5 .9 1 }
  121. alu_shader -spec_etal 20
  122. alu_shader -spec_algo    0
  123. alu_shader -spec_eccen    0
  124. alu_shader -spec_filtre 1
  125. alu_shader -shading    0
  126.  
  127. ###########################################
  128. newshader mzfumee "Smoke"
  129. mzfumee -couleur { .2 .3 .4 }
  130. mzfumee -ambiant { .2 .3 .4 }
  131. mzfumee -opacity { 1.0 1.0 1.0 }
  132. mzfumee -diffus 0.8
  133. mzfumee -amb_coef 0.6
  134. mzfumee -spec_coef 0
  135. mzfumee -cast_shadow 1
  136. mzfumee -recv_shadow 1
  137. mzfumee -texture mzfumee_text
  138.  
  139. mzfumee_text -texture3d mzfumee_data
  140. mzfumee_text -destination 2
  141. mzfumee_text -algo_applic 0
  142. mzfumee_text -param_applic 0.5
  143.  
  144. mzfumee_data -type wood
  145. mzfumee_data -couleur1      { 0.0 0.0 0.0 }
  146. mzfumee_data -couleur2      { 1.0 1.0 1.0 }
  147. mzfumee_data -scale     { 3.0 3.0 1.0 }
  148. mzfumee_data -trans     { 0.0 0.0 0.0 }
  149. mzfumee_data -rotat     { 0.0 0.0 0.0 }
  150. mzfumee_data -taille        10
  151. mzfumee_data -perturbation    0.79
  152. mzfumee_data -octaves        5
  153.  
  154. ###########################################
  155. newshader mbozoC "Bozo"
  156. mbozoC -couleur { 1.0 1.0 0.0 }
  157. mbozoC -ambiant { 0.3 0.3 0.3 }
  158. mbozoC -opacity { 1.0 1.0 1.0 }
  159. mbozoC -diffus 1
  160. mbozoC -spec_coef 0
  161. mbozoC -spec_etal 120
  162. mbozoC -cast_shadow 1
  163. mbozoC -recv_shadow 1
  164.  
  165. mbozoC -texture mbozoC_text
  166.  
  167. mbozoC_text -texture3d mbozoC_data
  168. mbozoC_text -destination 0
  169. mbozoC_text -algo_applic 0
  170. mbozoC_text -param_applic 0.5
  171.  
  172. mbozoC_data -type marble
  173. mbozoC_data -scale     { 4.0 4.0 4.0 }
  174. mbozoC_data -trans     { 0.0 0.0 0.0 }
  175. mbozoC_data -rotat     { 0.0 0.0 0.0 }
  176. mbozoC_data -taille        1
  177. mbozoC_data -perturbation    1
  178. mbozoC_data -octaves        1
  179. mbozoC_data -colmap { 0.10 1.0 0.0 0.0 1.0 }
  180. mbozoC_data -colmap { 0.40 0.9 0.9 0.1 1.0 }
  181. mbozoC_data -colmap { 0.60 0.2 0.2 1.0 1.0 }
  182. mbozoC_data -colmap { 0.80 1.0 1.0 1.0 1.0 }
  183.  
  184.  
  185. ###########################################
  186. newshader mbozo "Planet Earth"
  187. mbozo -couleur { 1.0 1.0 0.0 }
  188. mbozo -ambiant { 0.4 0.4 0.4 }
  189. mbozo -opacity { 1.0 1.0 1.0 }
  190. mbozo -diffus 1
  191. mbozo -spec_coef 0
  192. mbozo -cast_shadow 1
  193. mbozo -recv_shadow 1
  194.  
  195. mbozo -texture mbozo_text
  196. mbozo -texture mbozo2_text
  197.  
  198. mbozo_text -texture3d mbozo_data
  199. mbozo_text -destination 0
  200. mbozo_text -algo_applic 0
  201. mbozo_text -param_applic 0.5
  202.  
  203. mbozo_data -type wood
  204. mbozo_data -scale     { 2.0 2.0 2.0 }
  205. mbozo_data -trans     { 0.0 0.0 0.0 }
  206. mbozo_data -rotat     { 0.0 0.0 0.0 }
  207. mbozo_data -taille        2
  208. mbozo_data -perturbation    1
  209. mbozo_data -octaves        4
  210. mbozo_data -colmap { 0.70 0.2 0.2 1.0 1.0 }
  211. mbozo_data -colmap { 0.71 0.7 0.4 0.1 1.0 }
  212. mbozo_data -colmap { 1.0 0.1 0.5 0.0 1.0 }
  213.  
  214. mbozo2_text -texture3d mbozo2_data
  215. mbozo2_text -destination 0
  216. mbozo2_text -algo_applic 4
  217. mbozo2_text -param_applic 1
  218.  
  219. mbozo2_data -type    marble
  220. mbozo2_data -scale     { 2.0 2.0 2.0 }
  221. mbozo2_data -trans     { 0.0 0.0 0.0 }
  222. mbozo2_data -rotat     { 0.0 0.0 0.0 }
  223. mbozo2_data -taille        7
  224. mbozo2_data -perturbation    0.52
  225. mbozo2_data -octaves        7
  226. mbozo2_data -colmap { 0.0 0.0 0.0 0.0 1.0 }
  227. mbozo2_data -colmap { 1.0 1.0 1.0 1.0 1.0 }
  228.  
  229. ###########################################
  230. newshader mzcmap "Another blue marble"
  231. mzcmap -couleur { 1.0 1.0 0.0 }
  232. mzcmap -ambiant { 0.0 0.0 0.0 }
  233. mzcmap -opacity { 1.0 1.0 1.0 }
  234. mzcmap -diffus 1
  235. mzcmap -spec_coef .5
  236. mzcmap -spec_etal 120
  237. mzcmap -cast_shadow 1
  238. mzcmap -recv_shadow 1
  239.  
  240. mzcmap -texture mzcmap_text
  241.  
  242. mzcmap_text -texture3d mzcmap_data
  243. mzcmap_text -destination 0
  244. mzcmap_text -algo_applic 0
  245. mzcmap_text -param_applic 0.5
  246.  
  247. mzcmap_data -type        marble
  248. mzcmap_data -couleur1      { 0.2 0.3 0.4 }
  249. mzcmap_data -couleur2      { 0.4 0.7 1.0 }
  250. mzcmap_data -scale     { 1.0 1.0 1.0 }
  251. mzcmap_data -trans     { 0.0 0.0 0.0 }
  252. mzcmap_data -rotat     { 0.0 0.0 0.0 }
  253. mzcmap_data -taille        20
  254. mzcmap_data -perturbation    .3
  255. mzcmap_data -octaves        7
  256. mzcmap_data -colmap { 0.00 0.0 0.3 1.0 1.0 }
  257. mzcmap_data -colmap { 0.10 0.2 0.7 0.8 1.0 }
  258. #mzcmap_data -colmap { 0.90 0.1 0.2 0.4 1.0 }
  259. mzcmap_data -colmap { 0.95 0.1 0.5 0.6 1.0 }
  260. mzcmap_data -colmap { 1.00 0.1 0.55 0.7 1.0 }
  261.  
  262.  
  263. ###########################################
  264. newshader mzlite "Modern plastic"
  265. mzlite -couleur { 0.8 0.9 0.6 }
  266. mzlite -ambiant { 0.0 0.0 0.0 }
  267. mzlite -opacity { 1.0 1.0 1.0 }
  268. mzlite -diffus .6
  269. mzlite -spec_coef 1
  270. mzlite -spec_etal 120
  271. mzlite -cast_shadow 1
  272. mzlite -recv_shadow 1
  273.  
  274. mzlite -texture mzlite_text
  275.  
  276. mzlite_text -texture3d mzlite_data
  277. mzlite_text -destination 6
  278. mzlite_text -algo_applic 1
  279. mzlite_text -param_applic 0.2
  280.  
  281. mzlite_data -type marble
  282. #mzlite_data -couleur1      { 0.2 0.3 0.4 }
  283. #mzlite_data -couleur2      { 0.4 0.7 1.0 }
  284. mzlite_data -couleur1      { 0.0 0.0 0.0 }
  285. mzlite_data -couleur2      { 1.0 1.0 1.0 }
  286. mzlite_data -scale     { 7.0 7.0 7.0 }
  287. mzlite_data -trans     { 0.0 0.0 0.0 }
  288. mzlite_data -rotat     { 0.0 0.0 0.0 }
  289. mzlite_data -taille        7
  290. mzlite_data -perturbation    0.9
  291. mzlite_data -octaves        1
  292.  
  293. ###########################################
  294. newshader damier_shader "Checker"
  295. damier_shader -ambiant { .5 .5 .5 }
  296. damier_shader -diffus 0.6
  297. damier_shader -spec_coef 0
  298. damier_shader -spec_couleur { 1 1 1 }
  299. damier_shader -spec_etal 200
  300. damier_shader -texture damier_text
  301.  
  302. damier_text -texture3d         damier_t3d
  303. damier_text -destination     0
  304. damier_text -algo_applic    0
  305. damier_text -param_applic    0.5
  306.  
  307. damier_t3d -type         damier
  308. damier_t3d -perturbation     0.02
  309. damier_t3d -scale         { 5 5 5 }
  310. damier_t3d -taille        10
  311. damier_t3d -couleur1         { .6 .3 .2 }
  312. damier_t3d -couleur2        { 1 .5 0 }
  313.  
  314. ###########################################
  315. newshader damiert_shader "Venitian window"
  316. damiert_shader -couleur { 0.8 0.9 0.6 }
  317. damiert_shader -ambiant { .5 .5 .5 }
  318. damiert_shader -diffus 0.6
  319. damiert_shader -spec_coef 0
  320. damiert_shader -spec_couleur { 1 1 1 }
  321. damiert_shader -spec_etal 200
  322. damiert_shader -texture damiert_text
  323.  
  324. damiert_text -texture3d     damiert_t3d
  325. damiert_text -destination     2
  326. damiert_text -algo_applic    0
  327. damiert_text -param_applic    0.5
  328.  
  329. damiert_t3d -type         damier
  330. damiert_t3d -perturbation     0
  331. damiert_t3d -scale         { 1 20 1 }
  332. damiert_t3d -trans         { .5 0 0 }
  333. damiert_t3d -taille        10
  334. damiert_t3d -couleur1         { 0 0 0 }
  335. damiert_t3d -couleur2        { 1 1 1 }
  336.  
  337. ###########################################
  338. newshader degrade_shader "New age"
  339. degrade_shader -ambiant { .7 .7 .7 }
  340. degrade_shader -diffus 0.9
  341. degrade_shader -spec_coef 0
  342. degrade_shader -spec_couleur { 1 1 1 }
  343. degrade_shader -spec_etal 200
  344. degrade_shader -texture degrade_text
  345.  
  346. degrade_text -texture3d     degrade_t3d
  347. degrade_text -destination     0
  348. degrade_text -algo_applic    0
  349. degrade_text -param_applic    0.5
  350.  
  351. degrade_t3d -type         degrad3d
  352. degrade_t3d -perturbation     0.7
  353. degrade_t3d -scale         { 4 3 4 }
  354. degrade_t3d -taille        10
  355. degrade_t3d -couleur1         { 0 0 0 }
  356. degrade_t3d -couleur2        { 1 1 1 }
  357. #degrade_t3d -colmap { 0.00 0.2 0.3 1.0 1.0 }
  358. #degrade_t3d -colmap { 0.40 0.3 0.7 0.8 1.0 }
  359. #degrade_t3d -colmap { 0.55 0.1 0.1 0.6 1.0 }
  360. #degrade_t3d -colmap { 1.00 0.2 0.3 2.0 1.0 }
  361.  
  362. ###########################################
  363. newshader degrades_shader "Fantaisie"
  364. degrades_shader -ambiant { .5 .5 .5 }
  365. degrades_shader -couleur { .9 .8 .7 }
  366. degrades_shader -diffus 0.6
  367. degrades_shader -spec_coef 0
  368. degrades_shader -spec_couleur { 1 1 1 }
  369. degrades_shader -spec_etal 200
  370. degrades_shader -texture degrades_text
  371.  
  372. degrades_text -texture3d     degrades_t3d
  373. degrades_text -destination     0
  374. degrades_text -algo_applic    1
  375. degrades_text -param_applic    0.5
  376.  
  377. degrades_t3d -type         degrad3ds
  378. degrades_t3d -perturbation     0.9
  379. degrades_t3d -scale         { 15 15 15 }
  380. degrades_t3d -taille        10
  381. degrades_t3d -couleur1         { 0 0 0 }
  382. degrades_t3d -couleur2        { 1 1 1 }
  383. #degrades_t3d -colmap { 0.00 0.2 0.3 1.0 1.0 }
  384. #degrades_t3d -colmap { 0.40 0.3 0.7 0.8 1.0 }
  385. #degrades_t3d -colmap { 0.55 0.1 0.1 0.6 1.0 }
  386. #degrades_t3d -colmap { 1.00 0.2 0.3 2.0 1.0 }
  387.  
  388. ###########################################
  389. newshader marble2v_shader "Marble with two layers"
  390. marble2v_shader -couleur { 0.2 0.4 0.9 }
  391. marble2v_shader -diffus 0.6
  392. marble2v_shader -spec_coef .8
  393. marble2v_shader -spec_couleur { 1 1 1 }
  394. marble2v_shader -spec_etal 200
  395. marble2v_shader -texture marble2v_text2
  396. marble2v_shader -texture marble2v_text
  397.  
  398. marble2v_text -texture3d     marble2v_t3d
  399. marble2v_text -destination     0
  400. marble2v_text -algo_applic    2
  401. marble2v_text -param_applic    0.5
  402.  
  403. marble2v_t3d -type         marble
  404. marble2v_t3d -perturbation     0.3
  405. marble2v_t3d -scale         { 2 2 2 }
  406. marble2v_t3d -taille        10
  407. marble2v_t3d -colmap { 0.00 0.0 0.7 1.0 0.0 }
  408. marble2v_t3d -colmap { 0.40 0.1 1.0 0.8 1.0 }
  409. marble2v_t3d -colmap { 0.55 0.3 1.0 1.0 1.0 }
  410. marble2v_t3d -colmap { 1.00 0.5 0.5 1.0 0.0 }
  411.  
  412. marble2v_text2 -texture3d     marble2v_t3d2
  413. marble2v_text2 -destination     0
  414. marble2v_text2 -algo_applic    2
  415. marble2v_text2 -param_applic    0.5
  416.  
  417. marble2v_t3d2 -type         marble
  418. marble2v_t3d2 -perturbation     0.3
  419. marble2v_t3d2 -scale         { 4 4 4 }
  420. marble2v_t3d2 -taille        10
  421. marble2v_t3d2 -colmap { 0.00 0.2 0.3 1.0 1.0 }
  422. marble2v_t3d2 -colmap { 0.40 0.3 0.7 0.8 0.0 }
  423. marble2v_t3d2 -colmap { 0.55 0.1 0.1 0.6 0.0 }
  424. marble2v_t3d2 -colmap { 1.00 0.2 0.3 1.0 1.0 }
  425.  
  426. ###########################################
  427. newshader bump2_shader "Old copper"
  428. bump2_shader -ambiant { .3 .3 .3 }
  429. bump2_shader -couleur { .5 .2 0 }
  430. bump2_shader -diffus .6
  431. bump2_shader -spec_coef 1
  432. bump2_shader -spec_couleur { 1 1 1 }
  433. bump2_shader -spec_etal 40
  434. bump2_shader -texture bump2_text
  435.  
  436. bump2_text -texture3d     bump2_t3d
  437. bump2_text -destination     6
  438. bump2_text -algo_applic        1
  439. bump2_text -param_applic    .8
  440.  
  441. bump2_t3d -type         noise
  442. bump2_t3d -perturbation     .6
  443. bump2_t3d -scale         { 20 20 20 }
  444. bump2_t3d -taille        37
  445.  
  446. ###########################################
  447. newshader bump3_shader "Concrete"
  448. bump3_shader -ambiant { .2 .2 .2 }
  449. bump3_shader -couleur { .7 .7 .7 }
  450. bump3_shader -diffus .5
  451. bump3_shader -spec_coef .2
  452. bump3_shader -spec_couleur { 1 1 1 }
  453. bump3_shader -spec_etal 50
  454. bump3_shader -texture bump3_text
  455.  
  456. bump3_text -texture3d     bump3_t3d
  457. bump3_text -destination     6
  458. bump3_text -algo_applic        1
  459. bump3_text -param_applic    1
  460.  
  461. bump3_t3d -type         noise
  462. bump3_t3d -perturbation     .97
  463. bump3_t3d -octaves         4
  464. bump3_t3d -scale         { 40 40 40 }
  465. bump3_t3d -taille     55
  466.  
  467. ###########################################
  468. newshader woodn_shader "Stone made with wood shader"
  469. woodn_shader -diffus 0.6
  470. woodn_shader -couleur { .4 .9 .95 }
  471. woodn_shader -spec_coef 1
  472. woodn_shader -spec_couleur { 1 1 1 }
  473. woodn_shader -spec_etal 200
  474. woodn_shader -ambiant { 0.4 0.4 0.4 }
  475. woodn_shader -texture woodn_text
  476.  
  477. woodn_text -texture3d         woodn_t3d
  478. woodn_text -destination     0
  479. woodn_text -algo_applic        0
  480. woodn_text -param_applic    .5
  481.  
  482. woodn_t3d -type         wood
  483. woodn_t3d -scale     { 5 5 5 }
  484. woodn_t3d -rotat     { 0.0 0.0 0.0 }
  485. woodn_t3d -perturbation 0.3
  486. woodn_t3d -octaves    8
  487. woodn_t3d -taille    30
  488.  
  489. ###########################################
  490. newshader woodn2_shader "Two wooden layers"
  491. woodn2_shader -diffus 0.6
  492. woodn2_shader -couleur { .4 .9 .95 }
  493. woodn2_shader -spec_coef 1
  494. woodn2_shader -spec_couleur { 1 1 1 }
  495. woodn2_shader -spec_etal 100
  496. woodn2_shader -ambiant { 0.4 0.4 0.4 }
  497. woodn2_shader -texture woodn2_text
  498. woodn2_shader -texture wood2_text
  499.  
  500. woodn2_text -texture3d         woodn2_t3d
  501. woodn2_text -destination     6
  502. woodn2_text -algo_applic    1
  503. woodn2_text -param_applic    .5
  504.  
  505. woodn2_t3d -type         wood
  506. woodn2_t3d -scale     { 10 10 1 }
  507. woodn2_t3d -rotat     { 0.0 0.0 0.0 }
  508. woodn2_t3d -perturbation 0.1
  509. woodn2_t3d -octaves    3
  510. woodn2_t3d -taille    6
  511.  
  512. wood2_text -texture3d         wood2_t3d
  513. wood2_text -destination     0
  514. wood2_text -algo_applic    0
  515. wood2_text -param_applic    0.5
  516.  
  517. wood2_t3d -type         wood
  518. wood2_t3d -scale     { 10 10 1 }
  519. wood2_t3d -rotat     { 0.0 0.0 0.0 }
  520. wood2_t3d -perturbation .1
  521. wood2_t3d -octaves    3
  522. wood2_t3d -taille    6
  523. wood2_t3d -couleur1    { .3 .15 .05 }
  524. wood2_t3d -couleur2    { .7 .4 .1 }
  525.  
  526. ###########################################
  527. newshader marblen_shader "Stripes"
  528. marblen_shader -diffus 0.6
  529. marblen_shader -couleur { .2 .5 .95 }
  530. marblen_shader -spec_coef 1
  531. marblen_shader -spec_couleur { 1 1 1 }
  532. marblen_shader -spec_etal 200
  533. marblen_shader -ambiant { 0.4 0.4 0.4 }
  534. marblen_shader -texture marblen_text
  535.  
  536. marblen_text -texture3d     marblen_t3d
  537. marblen_text -destination     0
  538. marblen_text -algo_applic    0
  539. marblen_text -param_applic    .5
  540.  
  541. marblen_t3d -type         marble
  542. marblen_t3d -scale     { 3 3 1 }
  543. marblen_t3d -rotat     { 0.0 0.0 0.0 }
  544. marblen_t3d -perturbation 0.2
  545. marblen_t3d -octaves    3
  546. marblen_t3d -taille    100
  547. marblen_t3d -couleur1    { .8 .2 .4 }
  548. marblen_t3d -couleur2    { .3 .2 .25 }
  549.  
  550. ###########################################
  551. newshader damiern_shader "Transparent checker"
  552. damiern_shader -ambiant { .5 .5 .5 }
  553. damiern_shader -couleur { .2 .95 .35 }
  554. damiern_shader -diffus 0.6
  555. damiern_shader -spec_coef 0
  556. damiern_shader -spec_couleur { 1 1 1 }
  557. damiern_shader -spec_etal 200
  558. damiern_shader -texture damiern_text
  559.  
  560. damiern_text -texture3d     damiern_t3d
  561. damiern_text -destination     2
  562. damiern_text -algo_applic    0
  563. damiern_text -param_applic    1
  564.  
  565. damiern_t3d -type         damier
  566. damiern_t3d -perturbation     0
  567. damiern_t3d -scale         { 5 5 5 }
  568. damiern_t3d -taille         10
  569.  
  570. damiern_t3d -couleur1    { 0 0 0 }
  571. damiern_t3d -couleur2    { 1 1 1 }
  572.  
  573. ###########################################
  574. newshader radialn1_shader "Radial example"
  575. radialn1_shader -ambiant { .5 .5 .5 }
  576. radialn1_shader -couleur { .4 .45 .95 }
  577. radialn1_shader -diffus 0.6
  578. radialn1_shader -spec_coef 1
  579. radialn1_shader -spec_couleur { 1 1 1 }
  580. radialn1_shader -spec_etal 100
  581. radialn1_shader -texture radialn1_text
  582.  
  583. radialn1_text -texture3d     radialn1_t3d
  584. radialn1_text -destination     0
  585. radialn1_text -algo_applic    0
  586. radialn1_text -param_applic    0.3
  587.  
  588. radialn1_t3d -type         radial1
  589. radialn1_t3d -perturbation     0.1
  590. radialn1_t3d -scale         { 10 10 10 }
  591. #radialn1_t3d -trans         { -0.5 -0.5 -0.5 }
  592. radialn1_t3d -rotat         { 0.0 0.0 0.0 }
  593. radialn1_t3d -taille        10
  594.  
  595. ###########################################
  596. newshader radialn2_shader "Radial example 2"
  597. radialn2_shader -ambiant { .5 .5 .5 }
  598. radialn2_shader -couleur { .4 .45 .95 }
  599. radialn2_shader -diffus 0.6
  600. radialn2_shader -spec_coef 1
  601. radialn2_shader -spec_couleur { 1 1 1 }
  602. radialn2_shader -spec_etal 100
  603. radialn2_shader -texture radialn2_text
  604.  
  605. radialn2_text -texture3d     radialn2_t3d
  606. radialn2_text -destination     0
  607. radialn2_text -algo_applic    0
  608. radialn2_text -param_applic    0.3
  609.  
  610. radialn2_t3d -type         radial2
  611. radialn2_t3d -perturbation     0.3
  612. radialn2_t3d -octaves         5
  613. radialn2_t3d -scale         { 20 20 20 }
  614. radialn2_t3d -rotat         { 0.0 0.0 0.0 }
  615. radialn2_t3d -taille        5
  616.  
  617. ###########################################
  618. newshader grid_shader "Grid"
  619. grid_shader -ambiant { .5 .5 .5 }
  620. grid_shader -couleur { .4 .45 .95 }
  621. grid_shader -diffus 0.6
  622. grid_shader -spec_coef 1
  623. grid_shader -spec_couleur { 1 1 1 }
  624. grid_shader -spec_etal 100
  625. grid_shader -texture grid_text
  626.  
  627. grid_text -texture3d     grid_t3d
  628. grid_text -destination     0
  629. grid_text -algo_applic    0
  630. grid_text -param_applic    0
  631.  
  632. grid_t3d -type         grid
  633. grid_t3d -perturbation     0
  634. grid_t3d -octaves         5
  635. grid_t3d -rotat         { 0.0 0.0 0.0 }
  636. grid_t3d -taille        20
  637. grid_t3d -couleur1        { 0 0 0 }
  638. grid_t3d -couleur2        { 1 1 1 }
  639.  
  640. ###########################################
  641. newshader bricks_shader "Bricks"
  642. bricks_shader -ambiant { .2 .2 .2 }
  643. bricks_shader -couleur { .8 .45 .2 }
  644. bricks_shader -diffus 0.8
  645. bricks_shader -spec_coef 0.1
  646. bricks_shader -spec_couleur { 1 1 1 }
  647. bricks_shader -spec_etal 100
  648. bricks_shader -texture bricks_text
  649.  
  650. bricks_text -texture3d     bricks_t3d
  651. bricks_text -destination     0
  652. bricks_text -algo_applic    0
  653. bricks_text -param_applic    0
  654.  
  655. bricks_t3d -type         brick
  656. bricks_t3d -perturbation     0
  657. bricks_t3d -octaves         5
  658. #bricks_t3d -scale         { 5 5 5 }
  659. bricks_t3d -rotat         { 0.0 0.0 0.0 }
  660. bricks_t3d -taille        20
  661. bricks_t3d -couleur1        { 0.7 0.56 0.3 }
  662. bricks_t3d -couleur2        { 0.45 0.34 0.25 }
  663.